<template>
  <div></div>
</template>

<script>
import { ref, reactive, onMounted } from "vue";
export default {
  name: "",
  setup() {
    const data = reactive({});
    const aa = () => {
      $.ajax({
        type: "post",
        url: "http://localhost:3003/news",
        data: {
          id: 3,
          title: "我是新加入的新闻",
          date: "2016-08-12",
          likes: 0,
          views: 0,
        },
      });
    };

    onMounted(() => {});
    return {
      data,
    };
  },
};
</script>
<style scoped lang='scss'>
</style>
